-- GENERATED SPELL FOR [Zanzil Zombie] --


function spell0_1488(pUnit, Event) --@Contagion of Rot,n/a--
pUnit:FullCastSpellOnTarget(7102,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1488', 639, 1)
end

function Sorts_1488(pUnit, Event)
local choix_sorts_1488 = math.random(0, 0)
if choix_sorts_1488 == 0 then
pUnit:RegisterEvent('spell0_1488', 1, 1)
end
end

function mob1488_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1488', math.random(1500, 3000), 1)
end

function mob1488_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1488_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1488_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1488, 1, 'mob1488_Action')
RegisterUnitEvent(1488, 2, 'mob1488_Leave')
RegisterUnitEvent(1488, 3, 'mob1488_Kill')
RegisterUnitEvent(1488, 4, 'mob1488_Die')
